﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Commont.Domains.BatchManagementFiles
{
    /// <summary>
    /// 副产称重
    /// </summary>
    public class Byproduct
    {
        [Key]
        /// <summary>
        /// 副产ID
        /// </summary>
        public int ByproductId { get; set; }
        /// <summary>
        /// 仓库Id
        /// </summary>
        public int Stashid { get; set; }
        /// <summary>
        /// 批宰计划号
        /// </summary>
        public string DocumentsNo { get; set; }
        /// <summary>
        /// 副产称重时间
        /// </summary>
        public DateTime ByproductDate { get; set; }
        /// <summary>
        /// 商品分类
        /// </summary>

        public string ShoppingType { get; set; }
        /// <summary>
        /// 商品名
        /// </summary>
        public string ShoppingName { get; set; }
        /// <summary>
        /// 称重头数
        /// </summary>
        public int byproductNum { get; set; }
        /// <summary>
        /// 毛重
        /// </summary>
        public decimal byproductNoteWeight { get; set; }
        /// <summary>
        /// 皮重
        /// </summary>
        public decimal byproductNoteTare { get; set; }
        /// <summary>
        /// 净重
        /// </summary>
        public decimal byproductNetWeight { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Rremark { get; set; }
    }
}
